#Makefile for uitl/*

CC = gcc

LINKS = inner.o

INCLUDE= -I../../include -I../../util

#DEFINE = -g -DDEBUG
DEFINE =


TARGET = ../../lib/

%.o: %.c
	$(CC) -Wall -O2 ${DEFINE} ${INCLUDE} -c -o $@ $<

all: $(LINKS) inner.so

inner.so: 
	$(CC) -g -shared -o ${TARGET}/$@ ${LINKS}

clean:
	rm -f *.o 
